{dede:page pagesize='30'/}
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
		<title>会员短信管理</title>
		<link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
		<link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
		<link rel="stylesheet" href="../static/web/css/admin.css">
	</head>
	<body>
		<form action="member_pm.php" name="form1" method="get">
			<table align="center" class="table maintable my-3">
				<tr>
					<td bgcolor="#f5f5f5">
						<input type="text" name="keyword" id="keyword" value="{dede:global name='keyword'/}" placeholder="请输入关键词" class="admin-input-lg mr-3">
						<input type="text" name="username" id="username" value="{dede:global name='username'/}" placeholder="请输入账号" class="admin-input-lg mr-3">
						<select name="folder" id="folder" class="admin-input-sm mr-3">
							<option value="inbox">收件箱</option>
							<option value="outbox">发件箱</option>
						</select>
						<button type="submit" class="btn btn-success btn-sm">搜索</button>
					</td>
				</tr>
			</table>
		</form>
		<table align="center" class="table maintable mb-3">
			<tr>
				<td bgcolor="#f5f5f5" colspan="7">
					<span id="cate_1" class="btn btn-success btn-sm">短信列表</span>
					<a href="member_pmall.php" class="btn btn-outline-success btn-sm">群发短信</a>
					<a href="member_pmone.php" class="btn btn-outline-success btn-sm">单独短信</a>
				</td>
			</tr>
			<tr bgcolor="#e9ecef">
				<td width="10%" align="center">发送时间</td>
				<td width="20%" align="center">标题</td>
				<td width="5%" align="center">已读</td>
				<td width="10%" align="center">{dede:global name='postuser'/}</td>
				<td width="35%" align="center">文档</td>
				<td width="10%" align="center">文件夹</td>
				<td width="10%" align="center">操作</td>
			</tr>
			{dede:datalist empty='<tr><td colspan="7" align="center">暂无记录</td></tr>'}
			<tr align="center">
				<td>{dede:field.sendtime function='GetDateMk(@me)'/}</td>
				<td>{dede:field.subject function='dede_htmlspecialchars(@me)'/}</td>
				<td>{dede:field.hasview function='IsReader(@me)'/}</td>
				<td>{dede:field.floginid/}</td>
				<td>{dede:field.message function='cn_substr(HtmlReplace(@me),60)'/}</td>
				<td>{dede:field.folder function='GetFolders(@me)'/}</td>
				<td><a href="member_pm.php?ID={dede:field.id/}&dopost=del" class="btn btn-danger btn-sm">删除</a></td>
			</tr>
			{/dede:datalist}
			<tr>
				<td colspan="7" bgcolor="#f5f5f5" align="center">{dede:pagelist listsize='6'/}</td>
			</tr>
		</table>
	</body>
</html>